package rad.framework.mda.generator.template.main.webapp.webinf.classes;

import java.util.*;
import org.eclipse.uml2.uml.*;
import rad.framework.mda.generator.util.*;

public class Hdm2Ddl
{
  protected static String nl;
  public static synchronized Hdm2Ddl create(String lineSeparator)
  {
    nl = lineSeparator;
    Hdm2Ddl result = new Hdm2Ddl();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "hibernate.dialect=org.hibernate.dialect.HSQLDialect" + NL + "hibernate.connection.driver_class=org.hsqldb.jdbcDriver" + NL + "hibernate.connection.username=sa" + NL + "hibernate.connection.password=" + NL + "hibernate.connection.url=jdbc:hsqldb:.";
  protected final String TEXT_2 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    

    Model uml2Model = (Model) argument;
    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
